A. dm
B. rm
C. delete
D. erase
Advertisement
Related Mcqs:
- Which command is used to list out all the hidden files along with the other files ?
- A. ls -l B. ls -x C. ls -F D. ls -a...
- Which command is used to delete all files in the current directory as well as all files and sub-directories in its subdirectories ?
- A. rm * B. rm -r * C. rm all D. rm *.*...
- What command is used to remove files ?
- A. dm B. rm C. delete D. erase...
- Which of the following commands is used to remove files ?
- A. erase B. delete C. rm D. dm...
- Which of the following commands is used to remove files with confirmation prompt from the user file system which have neither been accessed nor modified i the last one year ?
- A. find -mtime +365 | rm B. grep (/usr/*) – mtime + 365 | -ok rm C. find -name – mtime + 365 / – ok rm D. find /user/* \(-mtime + 365 – a – atime +365 \) – OK rm {} \;...
- The command to count the number of files in the current directory by using pipes, is_______________?
- A. ls | wc B. ls -l | wc -l C. ls | wc -w D. ls | ws -c...
- Which option is used with cmp command to give a detailed list of the byte number and the differing bytes in octal for each character that differs in both the files ?
- A. -l B. -d C. -r D. -b...
- Which command is used to list all the files with extension .lst ?
- A. ls -l *.lst B. ls lst* C. ls *.* D. ls *[lst]...
- Which command is used to make all files and sub-directories in the directory (progs) executable by all users ?
- A. chmod -R a+x progs B. chmod -R 222 progs C. chmod -1 a+x progs D. chmod -x a+x progs...
- Which command is used to concatenate all files beginning with the string ’emp’ and followed by a non-numeric characters ?
- A. cat emp[!0-9] B. more [emp][!0-9] C. cat emp[x-z] D. cat emp[a-z]...
Advertisement